InsertISOItem method   

Inserts a file or directory into the ISO/Joliet image. The DestinationPath parameter indicates where in the image folder structure the file or directory is to be added. The DestinationPath should be in the format of:   

\[Image Folder Name]\[Image Filename - if applicable

The SourcePath parameter is the location of the source file (only if adding a file). An empty folder can be added to the image by providing a blank SourcePath parameter with a valid destination path. The format of the SourcePath parameter should be a valid file path. After an item has been added, the ISOItemAdded event will fire to indicate success an allow the GUI to be updated if necessary. 

Return Type

A Boolean value.

Syntax

object.InsertISOItem(DestinationPath As String, SourcePath As String)

The InsertISOItem method syntax has these parts:

Part Description
object An expression evaluating to an object of type CDWriterXP.
DestinationPathString
SourcePathString